<!DOCTYPE html>
<html>
  <head>
    <title>testPage</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  </head>
  <body>
    <script type="text/javascript">
      var iIncrement = 1;
      function Sakuras()
      {
        var oSpan = document.getElementsByTagName("span")[0];
        var iCount = parseInt(oSpan.innerText) + iIncrement;
        oSpan.innerText = iCount;
      }
    </script>
    <p>Sakuras现有かのじょ <span>0</span> 个</p>
    <input value="点我点我" type="button" onclick="Sakuras();" />
  </body>
</html>
